<center>
{if $delete_complete}
	<p>{$smarty.const.LA_ADMIN_COMMENTS_DELETED}</p>
{elseif $delete_confirm}
	<p><b class='red'>{$smarty.const.LA_ADMIN_COMMENTS_CONFIRM_DEL} {$delete_confirm}</b><br />
	<a href='?del_id={$delete_confirm}&confirmed=1'><b><u>{$smarty.const.LA_ADMIN_COMMENTS_CONFIRM_YES} #{$delete_confirm}</u></b></a>
{/if}
</center>

<form method="post" action="adm_comments.php">
<center><input type="text" name="searchstring" value="{$searchstring}" size="30" class="button">
<select name="searchType" class="button" size="2">{$list}</select>
<input type="submit" name="submit" value="{$smarty.const.LA_ADMIN_SEARCH}" class='button'></center>
</form>

<p>&nbsp;</p>


{if !$hide}
<table border='0' cellspacing='0' width='100%' class="box" style="clear:both;">

{foreach item=l from=$listArray}
{if $l.NB is even by 1}
	<tr class="alt">
{else}
	<tr>
{/if}
	<td>
	<b># {$l.comment_id}</b> {$smarty.const.LA_ADMIN_COMMENTS_WRITTEN_BY} <b><a href='adm_user_list.php?user_id={$l.comment_userid}'>{$l.comment_username}</a></b> {$smarty.const.LA_ADMIN_COMMENTS_AT} {$l.comment_date}, {$smarty.const.LA_ADMIN_COMMENTS_FROM_IP} {$l.comment_ip}: <a href='?del_id={$l.comment_id}'><img src="../layout_images/new/ad_delete.gif" /></a><br />
		<p class="bg">{$l.comment_body}</p>

	</td>
</tr>
{/foreach}

</table>


<p>{$url_bar}</p>
{/if}
